package com.powernode;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 *@EnableCaching : 缓存支持 -- Spring容器知道需要使用缓存功能，其它与缓存相关的注解才会生效
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableCaching
public class ManagerServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ManagerServiceApplication.class, args);
    }
}
